RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z_]+)/?$ index.php?p=$1 [QSA,L]
